<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>main</title>
		<link rel="stylesheet" type="text/css" href="/css/com.css"/>
		<link rel="stylesheet" type="text/css" href="/css/bootstrap.css"/>
		<script src="/js/jquery-3.3.1.js" type="text/javascript" charset="UTF-8"></script>
		<script src="/js/bootstrap.js" type="text/javascript" charset="UTF-8"></script>
		<style type="text/css">
			body{
				overflow-x: hidden;
				
			}
			.top a:visited{
				text-decoration: none;
				color: white;
			}
		</style>
	</head>
	<body>
		<div class="top">
			<div class="top-text">
				<span class="top-text">欢迎访问xxx医院&nbsp;&nbsp;&nbsp;现在是</span>
				<span id="now" class="top-text"></span>
				<span>欢迎</span>
				<span th:if="${session.user != null}" th:text="${session.user.username}">abc</span>
				<a th:href="@{/personalUi}" class="top-a" target="ifr">个人中心&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
				<a th:href="@{/user/logout}" class="top-a">退出登录</a>
			</div>
		</div>
		<div class="nav">
			<ul class="nav-ul  nav-tabs nav-pills">
				<img src="../img/green2.png" class="nav-img">
				<li role="presentation" class="nav-ul-li"><a th:href="@{/pptUi}" class="nav-ul-li-a" target="ifr">首页</a></li>
				<li role="presentation" class="nav-ul-li"><a th:href="@{/overview}" class="nav-ul-li-a " target="ifr">医院概况</a></li>
				<li role="presentation"class="nav-ul-li"><a th:href="@{/doctorUi}" class="nav-ul-li-a" target="ifr">医生介绍</a></li>
				<li role="presentation" class="nav-ul-li"><a th:href="@{/appointmentUi}" class="nav-ul-li-a" target="ifr">预约挂号</a></li>
				<li role="presentation" class="nav-ul-li"><a th:href="@{/navUi}" class="nav-ul-li-a" target="ifr">科室导航</a></li>
				<li role="presentation" class="nav-ul-li"><a th:href="@{/affiche/AfficheUi}" class="nav-ul-li-a" target="ifr">医院公告</a></li>
				<li role="presentation" class="nav-ul-li"><a th:href="@{/healthUi}" class="nav-ul-li-a" target="ifr">健康科普</a></li>
				<li role="presentation" class="nav-ul-li"><a th:href="@{/angelUi}" class="nav-ul-li-a" target="ifr">天使风采</a></li>
				<li role="presentation" class="nav-ul-li"><a th:href="@{/note/NoteUi}" class="nav-ul-li-a" target="ifr">留言板</a></li>
			</ul>
		</div>

		<iframe th:src="@{/pptUi}" name="ifr" class="ifr" scrolling="no">
			
		</iframe>
		<div class="rightnav">
			<ul>
				<li><a href="#" target="ifr"><span class="s1"><img src="../img/right1.png" class="rightnav-img"></span><span class="s2">预约挂号</span></a></li>
				<li><a href="#"><span class="s1"><img src="../img/right2.png" class="rightnav-img"></span><span class="s2">官方微信</span></a></li>
				<li><a href="#"><span class="s1"><img src="../img/right3.png" class="rightnav-img"></span><span class="s2">返回顶部</span></a></li>
			</ul>
		</div>
		<script>
			let now = new Date();
			$('#now').text(1900+now.getYear()+"-"+(now.getMonth()+1)+"-"+now.getDate()+" "+now.getHours()+":"+now.getMinutes()+":"+now.getSeconds())
		</script>
	</body>
</html>
